package com.jcfk.eam.domain.po.base;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.Version;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jcfk.common.business.entity.BaseEntity;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.Date;
/**
 * 计划维修
 *
 * @author awei
 * @email 522891237@gqq.com
 * @date 2024-08-21
 */
@Data
@TableName("eam_repair_plan")
public class EamRepairPlan extends BaseEntity {

    private static final long serialVersionUID=1L;
            
    /**
     * 计划编码
     */
    @TableField("plan_code")
    private String planCode;
        
    /**
     * 计划名称
     */
    @TableField("plan_name")
    private String planName;
        
    /**
     * 维修类型
     */
    @TableField("repair_type")
    private String repairType;

    /**
     * 维修负责人id
     */
    @TableField("repari_director_id")
    private String repariDirectorId;

    /**
     * 维修负责姓名
     */
    @TableField("repari_director_name")
    private String repariDirectorName;
    /**
     * 计划状态
     */
    @TableField("plan_status")
    private Integer planStatus;
    /**
     * 计划开始日期
     */
    @TableField("plan_start_time")
    private Date planStartTime;
        
    /**
     * 计划结束日期
     */
    @TableField("plan_end_time")
    private Date planEndTime;
        
    /**
     * 提醒时间
     */
    @TableField("plan_remind_time")
    private BigDecimal planRemindTime;
        
    /**
     * 提醒时间类型
     */
    @TableField("plan_remind_time_type")
    private String planRemindTimeType;
        
    /**
     * 设备管理部门
     */
    @TableField("device_department")
    private String deviceDepartment;
    @TableField("device_department_name")
    private String deviceDepartmentName;
        
    /**
     * 维修执行部门
     */
    @TableField("repair_department")
    private String repairDepartment;
    @TableField("repair_department_name")
    private String repairDepartmentName;
        
    /**
     * 备注
     */
    @TableField("remarks")
    private String remarks;
                
    /**
     * 创建人名
     */
    @TableField("created_user_name")
    private String createdUserName;
                
    /**
     * 更新人名
     */
    @TableField("last_updated_user_name")
    private String lastUpdatedUserName;
        
    /**
     * 是否停用
     */
    @TableField("enabled")
    private Integer enabled;
        
    /**
     * 是否删除
     */
    @TableField("deleted")
    private Integer deleted;
        
    /**
     * 资产大类
     */
    @TableField("asset_kind")
    private Integer assetKind;
    
    @Version
    @TableField(value = "version")
    private Long version;
}
